<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            width: 100px;
            height: 100px;
            background-color: aqua;
            text-align: center;
            line-height: 97px;
            color: blue;
            
        }
    </style>
</head>
<body>
    <div class="box">我是你爸爸</div>
    <script src="./velocity.js"></script>
    <script>
        var box =document.querySelector('.box');
        Velocity(box,{
        height:500,
        width:500,
        backgroundColor:"#00ff00",
        fontSize: 100,
        color:"#ff00ff"
    },{
        duration:2000,
        easing:'linear',
        loop:true
    }) 
    </script>
   
</body>
</html>     